﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SystemConfig.aspx.cs" Inherits="LDSP.UI.Admin.SystemConfig" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>系统设置</title>
    <link type="text/css" href="../../styles/bg.css" rel="Stylesheet" />
    <script type="text/javascript" src="../../Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" src="../../Scripts/jqex.js"></script>
    <script type="text/javascript" src="../../Scripts/Common.js"></script>
    <script type="text/javascript" src="../../Scripts/calendar.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="pnl_script" runat="server" RenderMode="Inline">
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <img src="../RS/bgImgs/loadding.gif" />
            数据加载中，请稍候...
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="mngTitle">
                <span class="mngEmphasis">系统信息</span>编辑：
            </div>
            <div>
                <table class="mngDetail">
                    <tr>
                        <td class="itemLabel">
                            企业最大下载次数：
                        </td>
                        <td class="itemValue">
                            <asp:TextBox ID="txt_maxDownloadTimes" runat="server" CssClass="mngDetailTxtShort"></asp:TextBox>&nbsp;次
                        </td>
                    </tr>
                    <tr  style="display: none">
                        <td class="itemLabel">
                            失效提醒时间段：
                        </td>
                        <td class="itemValue">
                            <asp:TextBox ID="txt_invalidAlert" runat="server" CssClass="mngDetailTxtShort"></asp:TextBox>&nbsp;天
                        </td>
                    </tr>
                    <tr>
                        <td class="itemLabel">
                            新增法规提醒时间段：
                        </td>
                        <td class="itemValue">
                            <asp:TextBox ID="txt_addNewAlert" runat="server" CssClass="mngDetailTxtShort"></asp:TextBox>&nbsp;天
                        </td>
                    </tr>
                    <tr>
                        <td class="itemLabel">
                            任务计划提醒时间段：
                        </td>
                        <td class="itemValue">
                            <asp:TextBox ID="txt_expireAlert" runat="server" CssClass="mngDetailTxtShort"></asp:TextBox>&nbsp;天
                        </td>
                    </tr>
                    <tr>
                        <td class="itemLabel">
                        </td>
                        <td class="itemValue">
                            <asp:Button ID="btn_ok" runat="server" Text="确定" OnClick="btn_ok_Click" CssClass="mngBtn" />
                            <asp:Button ID="btn_clearCache" runat="server" Text="清除缓存" OnClick="btn_clearCache_Click" CssClass="mngBtn" />
                            <asp:Button ID="btn_check" runat="server" Text="检查文件" OnClick="btn_check_Click" CssClass="mngBtn" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="mngList">
                <asp:Label ID="lbl_check" runat="server" Text="待上传文件列表：" Visible="false"></asp:Label>
                <asp:GridView ID="grd_list" runat="server" AutoGenerateColumns="False" EmptyDataText="当前没有需要上传的文件！"
                    DataKeyNames="id" OnRowDataBound="grd_list_RowDataBound" BackColor="#666699"
                    BorderColor="#999999" CellPadding="3" GridLines="Vertical" Width="100%">
                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                    <RowStyle BackColor="#EEEEEE" ForeColor="Black" BorderStyle="Solid" BorderWidth="1px" />
                    <EmptyDataRowStyle BorderStyle="None" BorderWidth="0px" Font-Bold="True" Font-Size="16pt"
                        ForeColor="white" />
                    <Columns>
                        <asp:TemplateField Visible="false">
                            <HeaderTemplate>
                                <asp:CheckBox ID="chb_selectAll" runat="server" onclick="selectAll(this,'grd_list')" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:CheckBox ID="chb" runat="server" />
                            </ItemTemplate>
                            <ItemStyle HorizontalAlign="Center" Width="40px" />
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="序号" ItemStyle-Width="40px" ItemStyle-HorizontalAlign="Center">
                        </asp:BoundField>
                        <asp:BoundField HeaderText="栏目" ItemStyle-Width="200px"></asp:BoundField>
                        <asp:BoundField DataField="name" HeaderText="法规/标准"></asp:BoundField>
                        <asp:BoundField DataField="fileName" HeaderText="文件名" ItemStyle-Width="200px" />
                    </Columns>
                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="#DCDCDC" />
                </asp:GridView>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
